<?php
/**
 * MongoDig
 *
 * @copyright  Copyright (c) 2010 lanyanguang (http://www.lanyg.com)
 * @license    GNU General Public License 2.0
 * @version    $Id$
 */

/** 初始化 */
require_once 'init.php';

$_SESSION['user_id'] = array();

unset($_SESSION['user_id']);

if(isset($_COOKIE[$config['cookie_name']]))
{
	setcookie($config['cookie_name'],'',time()-3600);
}

header('Location:'.$config['site_url'].'/index.php');